package com.example.patient.mapper;

import com.example.common.entity.Address;
import com.example.common.entity.ConsultationLog;
import com.example.patient.dto.resp.IMListResp;
import com.example.patient.dto.resp.IMLogListResp;
import com.example.patient.dto.resp.NoReceiveListResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author wxy
 * @Date 2021/1/21 15:27
 * @Version 1.0
 */
public interface InquiryMapper {

    List<IMListResp> cReceive(@Param("uid") Long uid);

    List<ConsultationLog> iMConsultationLog(@Param("ocIds") List<Long> ocIds);

    List<NoReceiveListResp> cNoReceive(@Param("uid") Long uid);

    List<IMLogListResp> IMLogList(@Param("ocId") Long ocId);

    Map<String, Object> ZRxDetail(@Param("rxOrderNo") String rxOrderNo);

    Address ClientAddressDynamic(@Param("cid") Long cid, @Param("aid") Long aid);

    Address ClientAddress(@Param("cid") Long cid);

    List<Map<String, Object>> RxOrderSettlementRespDrugListResp(@Param("rxOrderNo") String rxOrderNo);

    Map<String, Object> RxOrderSettlementRespDocInfoResp(@Param("rxOrderNo") String rxOrderNo);

    Map<String, Object> CommentInfoRespDocInfoResp(@Param("orderNO") String orderNO);
}
